Python Forum
Spyder Assignment 1 Coursera
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Spyder Assignment 1 Coursera
#1
Hi can someone tell me what is wrong with my cell, I tried running it but it won't show me anything it just goes back to the word "While" in the program. Oh and by the way, I might have tried to right click the word "While" and define. To learn the function of that word.
# -*- coding: utf-8 -*-
"""
Created on Wed Feb  7 22:21:30 2018

@author: My PC
"""
#%%
def hello():
    print("Hello,World!")
    
def myname():
    print("My Name is Eygribelk")
    
def ourschool():
    print("Coursera is our school")
    
def forever():
    while True:
        pass
Reply
#2
you never call anything
# -*- coding: utf-8 -*-
"""
Created on Wed Feb  7 22:21:30 2018
 
@author: My PC
"""
#%%
def hello():
    print("Hello,World!")
     
def myname():
    print("My Name is Eygribelk")
     
def ourschool():
    print("Coursera is our school")
     
def forever():
    while True:
        pass
hello()
myname()
ourschool()
Reply
#3
I am just basically copying and pasting the text from the program. =/
I'f i didn't call it neither did they, huh i think you are trying to tell me to add the argument in the parenthesis above right.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Coursera python for everybody 5.2 assignment SteppentigerV2 11 12,800 Oct-22-2020, 11:57 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020