Pygame cannot reference '.conterx', 'bottom'?'

problem description

the armed spaceship project in "python programming" is typed according to the code in the book, with an error
AttributeError:"builtin_function_or_method" object has no attribute "conterx"

.

the environmental background of the problems and what methods you have tried

puthon3.7
pygame 1.9.4

related codes

/ / Please paste the code text below (do not replace the code with pictures)
import pygame

class Ship ():

def __init__(self,screen):
    self.screen = screen
    
    self.image = pygame.image.load("images/ship.bmp")
    self.rect = self.image.get_rect()
    self.screen_rect = screen.get_rect
    
    self.rect.centerx = self.screen_rect.centerx
    self.rect.bottom = self.screen_rect.bottom
    
def blite(self):
    self.screen.blit(self.image,self.rect)

Mar.31,2021

self.screen_rect = screen.get_rect should be self.screen_rect = screen.get_rect ()

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3b3ea-4eee1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3b3ea-4eee1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?